﻿<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Cwgl_CancelAuditing.aspx.vb" Inherits="Slxt.Cwgl_CancelAuditing"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <title></title>
    <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
    <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
    <meta name="vs_defaultClientScript" content="JavaScript">
    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
    <script language="javascript">
	    function window.onload()
	    {		      
		    if (parent.window.dialogArguments != undefined && parent.window.dialogArguments != null)
            {
                //选择多个单据的情况
                if(parent.window.dialogArguments!="")
                {
                    HiddenForm.txtVouchGuidLst.value = parent.window.dialogArguments;                
                }
                else
                {
                    var strSearch=window.location.search.toLowerCase();
                    var iIndex=strSearch.indexOf("vouchguid");
                   //选择单个单据的情况
                   if(iIndex!=-1)
                   {
                      HiddenForm.txtVouchGuidLst.value =strSearch.substring(iIndex+10,iIndex+46);                
                   } 
                }                 
            }
            
            
            var rdNum = Math.random();
            sFile = "/slxt/cwgl/Cwgl_CancelAuditing_Grid.aspx?rnm=" + rdNum;
            HiddenForm.target = "appIframe";
            HiddenForm.action = sFile;
            HiddenForm.submit();
	    }
     </script>
  </head>  
  <body MS_POSITIONING="FlowLayout" style="margin:0;">
	<form id="HiddenForm" method="post" action="" target="">
		<input type="hidden" style="DISPLAY: none" id="txtVouchGuidLst" name="txtVouchGuidLst">
	</form>
    <form id="Form1" method="post" runat="server">
		<table height="100%" cellpadding="0" cellspacing="0" border="0" width="100%">			
			<tr height="0px">
				<td><iframe id="appIframe" name="appIframe" src="" width="100%" height="100%" frameborder="0" scrolling="no">
					</iframe></td>
			</tr>
		</table>
    </form>
  </body>
</html>